package com.aqiang.home.contract;

import com.aqiang.core.Repository;
import com.aqiang.core.model.IModel;
import com.aqiang.core.presenter.BasePresenter;
import com.aqiang.core.view.IView;
import com.aqiang.home.callback.Request;

public interface HomeContract {
    interface HomeView extends IView{
        void setText(String s);
    }

    interface HomeModel extends IModel{
        void getText(Request request);
    }

    abstract class HomeRepositroy extends Repository<HomeModel>{
        public abstract void getText(Request request);
    }

    abstract class HomePresenter extends BasePresenter<HomeRepositroy,HomeView>{

        public HomePresenter(HomeView homeView) {
            super(homeView);
        }

        public abstract void getText();
    }
}
